<div class="theme-colors">
  <ng-container *ngFor="let color of theme.colors; let i = index">
    <div title="切换主题颜色" class="color"
         [style.border-color]="currentIndex !== i ? color.value : '#fff'"
         [style.width]="size"
         [style.height]="size"
         [style.background-color]="color.value" (click)="changeThemeColor(color, i)"></div>
  </ng-container>
</div>
